home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dlarz.z / dlarz
Encoding:
Text File  |  2002-10-03  |  3.9 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDLLLLAAAARRRRZZZZ((((3333SSSS))))                                                            DDDDLLLLAAAARRRRZZZZ((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DLARZ - applie a real elementary reflector H to a real M-by-N matrix C,
  10.      from either the left or the right
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DLARZ( SIDE, M, N, L, V, INCV, TAU, C, LDC, WORK )
  14.  
  15.          CHARACTER     SIDE
  16.  
  17.          INTEGER       INCV, L, LDC, M, N
  18.  
  19.          DOUBLE        PRECISION TAU
  20.  
  21.          DOUBLE        PRECISION C( LDC, * ), V( * ), WORK( * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      DLARZ applies a real elementary reflector H to a real M-by-N matrix C,
  38.      from either the left or the right. H is represented in the form
  39.  
  40.            H = I - tau * v * v'
  41.  
  42.      where tau is a real scalar and v is a real vector.
  43.  
  44.      If tau = 0, then H is taken to be the unit matrix.
  45.  
  46.  
  47.      H is a product of k elementary reflectors as returned by DTZRZF.
  48.  
  49.  
  50. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  51.      SIDE    (input) CHARACTER*1
  52.              = 'L': form  H * C
  53.              = 'R': form  C * H
  54.  
  55.      M       (input) INTEGER
  56.              The number of rows of the matrix C.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDLLLLAAAARRRRZZZZ((((3333SSSS))))                                                            DDDDLLLLAAAARRRRZZZZ((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      N       (input) INTEGER
  75.              The number of columns of the matrix C.
  76.  
  77.      L       (input) INTEGER
  78.              The number of entries of the vector V containing the meaningful
  79.              part of the Householder vectors.  If SIDE = 'L', M >= L >= 0, if
  80.              SIDE = 'R', N >= L >= 0.
  81.  
  82.      V       (input) DOUBLE PRECISION array, dimension (1+(L-1)*abs(INCV))
  83.              The vector v in the representation of H as returned by DTZRZF. V
  84.              is not used if TAU = 0.
  85.  
  86.      INCV    (input) INTEGER
  87.              The increment between elements of v. INCV <> 0.
  88.  
  89.      TAU     (input) DOUBLE PRECISION
  90.              The value tau in the representation of H.
  91.  
  92.      C       (input/output) DOUBLE PRECISION array, dimension (LDC,N)
  93.              On entry, the M-by-N matrix C.  On exit, C is overwritten by the
  94.              matrix H * C if SIDE = 'L', or C * H if SIDE = 'R'.
  95.  
  96.      LDC     (input) INTEGER
  97.              The leading dimension of the array C. LDC >= max(1,M).
  98.  
  99.      WORK    (workspace) DOUBLE PRECISION array, dimension
  100.              (N) if SIDE = 'L' or (M) if SIDE = 'R'
  101.  
  102. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  103.      Based on contributions by
  104.        A. Petitet, Computer Science Dept., Univ. of Tenn., Knoxville, USA
  105.  
  106.  
  107. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  108.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  109.  
  110.      This man page is available only online.
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.